﻿Imports CondorTravelUTIL.DL
Imports System.Configuration

Public Class Funciones

    Public Function GetConnectionString() As String
        'Return Encryptor.DecryptTripleDES(WindowsRegistry.GetRegistryValue("SOFTWARE\Cibertec\Helpdesk", "ConnectionString"), WindowsRegistry.GetRegistryValue("SOFTWARE\Cibertec\Helpdesk", "Semilla"))
        Return ConfigurationManager.ConnectionStrings("CondorTravel").ToString
    End Function

#Region "FuncionTextos"
    Public Function ReemplazarTexto(ByVal strTexto As String) As String
        strTexto = Replace(strTexto, "'", "")
        strTexto = Replace(strTexto, ",", "")
        strTexto = Replace(strTexto, "%", "")
        Return strTexto
    End Function
#End Region
End Class
